// 日期选择器样式
.date-selector {
    margin: 16px 0;

    .ant-list-item {
        padding: 4px !important;
    }

    &-box {
        padding: 8px;
        border-radius: 8px;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s;

        &:hover {
            transform: scale(1.05);
        }
    }

    &-color1 {
        color: rgba(147, 149, 154, 1);
        background: #f0f0f0;
    }

    &-color2 {
        color: rgba(255, 255, 255, 1);
        background: @primary-color;
    }

    &-color3 {
        color: rgba(50, 51, 53, 1);
        background: #fff;
        border: 1px solid #d9d9d9;
    }
}

// 课程表网格
.schedule-grid {
    position: relative;
    margin-top: 24px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    overflow: hidden;

    .grid-header {
        display: grid;
        grid-template-columns: 100px repeat(7, 1fr);
        background: #fff;
    }

    .time-column {
        background: #fafafa;
        border-right: 1px solid #d9d9d9;
    }

    .date-column {
        position: relative;
        border-right: 1px solid #e8e8e8;

        &:last-child {
            border-right: none;
        }
    }

    .time-label {
        padding: 12px;
        text-align: center;
        background: #fafafa;
        border-bottom: 1px solid #e8e8e8;
        font-weight: 500;
    }

    .date-header {
        padding: 12px;
        text-align: center;
        background: #fafafa;
        border-bottom: 1px solid #e8e8e8;
        font-weight: 500;
    }

    .time-cell {
        height: 60px;
        border-bottom: 1px solid #e8e8e8;
        transition: all 0.3s;
        position: relative;

        &:hover {
            background: #e6f7ff;
        }
    }
}

// 移除拖拽相关样式
.course-block {
    position: absolute;
    z-index: 2;
    background: #b5f5ec;
    border: 1px solid #87e8de;
    border-radius: 4px;
    padding: 12px;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

    .course-time {
        font-size: 12px;
        color: #08979c;
        margin-bottom: 4px;
    }

    .course-name {
        font-weight: 500;
        margin: 4px 0;
        color: #262626;
    }

    .course-teacher {
        font-size: 12px;
        color: #595959;
    }
}

// 其他全局样式
.schedule-system {
    padding: 24px;
    max-width: 1600px;
    margin: 0 auto;

    .ant-card-head-title {
        font-size: 18px;
        font-weight: bold;
    }

    .ant-form-item {
        margin-right: 24px;
    }
}